Go performance optimization